<template>
  <div>
    <!-- 主要内容 -->
    <div>
      <keep-alive>
        <router-view v-if="$route.meta.keepAlive"></router-view>
      </keep-alive>
      <router-view v-if="!$route.meta.keepAlive" />
    </div>
  </div>
</template>
<script>
export default {
  components: {
  },
  data() {
    return {

    };
  },
  mounted() {

  },
  methods: {
    // 点击logo去首页
    imgClick() {
      this.$router.push("/index");
    },

  },
};
</script>
<style lang="less" scoped>
@import "./home.less";
</style>
